package mamikeji.liaowa.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 廉冲-android开发 on 2017/6/15.
 */
public class ToDoBean {

    /**
     * usertasklist : null
     * requestid :
     * list : [{"configName":"健康10004","score":40,"tType":3,"config_id":13,"task_optionsList":[{"scoreLv":30,"createtime":"/Date(1495507614000)/","failure":0,"orderby":0,"id":13,"title":"1次","selected":0,"tid":5},{"scoreLv":30,"createtime":"/Date(1495507614000)/","failure":0,"orderby":0,"id":14,"title":"2次","selected":0,"tid":5},{"scoreLv":40,"createtime":"/Date(1495507614000)/","failure":0,"orderby":0,"id":15,"title":"3次","selected":0,"tid":5}],"title":"做几次检查了？","tid":5},{"configName":"健康10004","score":30,"tType":1,"config_id":13,"task_optionsList":[{"scoreLv":0,"createtime":"/Date(1495507041000)/","failure":0,"orderby":0,"id":7,"title":"1g","selected":0,"tid":4},{"scoreLv":0,"createtime":"/Date(1495507041000)/","failure":0,"orderby":0,"id":8,"title":"3g","selected":0,"tid":4},{"scoreLv":0,"createtime":"/Date(1495507041000)/","failure":0,"orderby":0,"id":9,"title":"5g","selected":0,"tid":4},{"scoreLv":50,"createtime":"/Date(1495507041000)/","failure":0,"orderby":0,"id":10,"title":"7g","selected":0,"tid":4},{"scoreLv":50,"createtime":"/Date(1495507042000)/","failure":0,"orderby":0,"id":11,"title":"10g","selected":0,"tid":4},{"scoreLv":0,"createtime":"/Date(1495507042000)/","failure":0,"orderby":0,"id":12,"title":"15g","selected":0,"tid":4}],"title":"每天摄入的叶酸量","tid":4},{"configName":"健康10004","score":30,"tType":2,"config_id":13,"task_optionsList":[{"scoreLv":100,"createtime":"/Date(1495506880000)/","failure":0,"orderby":0,"id":5,"title":"是","selected":0,"tid":3},{"scoreLv":0,"createtime":"/Date(1495506880000)/","failure":0,"orderby":0,"id":6,"title":"否","selected":0,"tid":3}],"title":"睡眠时间是否满9个小时？","tid":3}]
     * message : 获取成功
     * status : 200
     */
    private String usertasklist;
    private String requestid;
    private List<ListEntity> list;
    private String message;
    private int status;

    public void setUsertasklist(String usertasklist) {
        this.usertasklist = usertasklist;
    }

    public void setRequestid(String requestid) {
        this.requestid = requestid;
    }

    public void setList(List<ListEntity> list) {
        this.list = list;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getUsertasklist() {
        return usertasklist;
    }

    public String getRequestid() {
        return requestid;
    }

    public List<ListEntity> getList() {
        return list;
    }

    public String getMessage() {
        return message;
    }

    public int getStatus() {
        return status;
    }

    public class ListEntity implements Serializable {
        /**
         * configName : 健康10004
         * score : 40
         * tType : 3
         * config_id : 13
         * task_optionsList : [{"scoreLv":30,"createtime":"/Date(1495507614000)/","failure":0,"orderby":0,"id":13,"title":"1次","selected":0,"tid":5},{"scoreLv":30,"createtime":"/Date(1495507614000)/","failure":0,"orderby":0,"id":14,"title":"2次","selected":0,"tid":5},{"scoreLv":40,"createtime":"/Date(1495507614000)/","failure":0,"orderby":0,"id":15,"title":"3次","selected":0,"tid":5}]
         * title : 做几次检查了？
         * tid : 5
         */
        private String configName;
        private int score;
        private int tType;
        private String config_id;
        private List<Task_optionsListEntity> task_optionsList;
        private String title;
        private String tid;

        public void setConfigName(String configName) {
            this.configName = configName;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public void setTType(int tType) {
            this.tType = tType;
        }

        public void setConfig_id(String config_id) {
            this.config_id = config_id;
        }

        public void setTask_optionsList(List<Task_optionsListEntity> task_optionsList) {
            this.task_optionsList = task_optionsList;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setTid(String tid) {
            this.tid = tid;
        }

        public String getConfigName() {
            return configName;
        }

        public int getScore() {
            return score;
        }

        public int getTType() {
            return tType;
        }

        public String getConfig_id() {
            return config_id;
        }

        public List<Task_optionsListEntity> getTask_optionsList() {
            return task_optionsList;
        }

        public String getTitle() {
            return title;
        }

        public String getTid() {
            return tid;
        }

        public class Task_optionsListEntity {
            /**
             * scoreLv : 30
             * createtime : /Date(1495507614000)/
             * failure : 0
             * orderby : 0
             * id : 13
             * title : 1次
             * selected : 0
             * tid : 5
             */
            private int scoreLv;
            private String createtime;
            private int failure;
            private int orderby;
            private String id;
            private String title;
            private int selected;
            private String tid;

            public void setScoreLv(int scoreLv) {
                this.scoreLv = scoreLv;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public void setFailure(int failure) {
                this.failure = failure;
            }

            public void setOrderby(int orderby) {
                this.orderby = orderby;
            }

            public void setId(String id) {
                this.id = id;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public void setSelected(int selected) {
                this.selected = selected;
            }

            public void setTid(String tid) {
                this.tid = tid;
            }

            public int getScoreLv() {
                return scoreLv;
            }

            public String getCreatetime() {
                return createtime;
            }

            public int getFailure() {
                return failure;
            }

            public int getOrderby() {
                return orderby;
            }

            public String getId() {
                return id;
            }

            public String getTitle() {
                return title;
            }

            public int getSelected() {
                return selected;
            }

            public String getTid() {
                return tid;
            }
        }
    }
}
